#include "basedelegate.h"

BaseDelegate::BaseDelegate(QObject* parent):QAbstractItemDelegate(parent)
{

}


void BaseDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
{

}

QSize BaseDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
{
    if(index.isValid())
        return QSize(50,100);
}
